﻿using Data.DAO;
using www.Models;

namespace Data.BO
{
    public class StoryValueBO//:BaseBO<StoryDAO,RelaxStory>
    {
        #region value
        private readonly StoryValueDAO _newRefDao = new StoryValueDAO();
        #endregion

        #region Hàm lấy dữ liệu
        
        #endregion

        #region Hàm Add
        public void Add(NEWS_VALUE story)
        {
            _newRefDao.Add(story);
        }
       
        #endregion

        #region Hàm Update
        public bool Update(NEWS_VALUE story)
        {
          return _newRefDao.Update(story);
        }
        #endregion

        #region Hàm Delete
        public void Delete(long iId, long iLanguageCode)
        {
            _newRefDao.Delete(iId,iLanguageCode);
        }
        #endregion

    }
}
